package com.beyondsoft.sabg.edu.repository.core;

import com.beyondsoft.sabg.edu.model.db.core.SystemSetting;
import com.beyondsoft.sabg.edu.model.db.core.UserAccount;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

/**
 * @Author Mo cr
 * @Date 2023/8/4
 */
public interface SystemSettingRepo extends JpaRepository<SystemSetting, Long> {
    Optional<SystemSetting> findByName(String name);

    List<SystemSetting> findByType(String type);
}
